// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import store from './store/index.js'
import '@/components' // 通用组件自动化全局注册
import api from '@/api'
App.mpType = 'app'

const app = new Vue({
  store,
  ...App
})
app.$mount()
Vue.prototype.$api = api
Vue.prototype.$localPicture = `https://www.xiaoliantec.com/images/blue/`
// #endif
// #ifdef VUE3
import {
  createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif